
import http from '../http.js'
export const getFundList = (params) => http.post("base/fund/list", params) // 获取资金方列表
export const setFund = (params, type) => http.post("base/fund/"+type, params) // 新增、编辑资金方
export const chageStatus = (params) => http.post("base/fund/chageStatus", params) // 修改资金方状态
export const deleteFund = (ids) => http.post("base/fund/deleteByIds", ids) // 删除资金方

export const getProductcategoryList = (params) => http.post("base/productcategoryinfo/list", params) // 获取产品分类列表
export const setProduct = (params, type) => http.post("base/productcategoryinfo/"+type, params) // 新增、编辑产品分类
export const chageProductStatus = (params) => http.post("base/productcategoryinfo/chageStatus", params) // 修改产品分类状态
export const deleteProduct = (ids) => http.post("base/productcategoryinfo/deleteByIds", ids) // 删除产品分类

export const getProductList = (params) => http.post("base/product/list", params) // 获取产品列表
export const setProductManage = (params, type) => http.post("base/product/"+type, params) // 新增、编辑产品
export const chageUpOrDown = (params) => http.post("base/product/upOrDown", params) // 修改产品
export const deleteProductManage = (ids) => http.post("base/product/deleteByIds", ids) // 删除产品
